﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DCInward_DeliveryAdd.aspx.cs" Inherits="Main_Inventory_DCInward_DeliveryAdd" %>
<%@ Register Src="~/User Controls/PageHeading.ascx" TagName="heading" TagPrefix="acc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Select Delivery Address</title>
     <link href="../../Styles/accounts.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript">
         function getback(){
                window.opener.document.getElementById("txtdeliveryadd").value=document.getElementById("hid_hold").value;
                window.opener.document.getElementById("hiddelivery_id").value='';
                window.opener.document.getElementById("hiddelivery_id").value=document.getElementById("hid_deliveryid").value;
                self.window.close();
                return true;
               }
         function single(id,no){
           document.getElementById("hid_hold").value=document.getElementById("hidadd"+no).value;
           document.getElementById("hid_deliveryid").value=document.getElementById("hid_del_id"+no).value;
          }
     </script>
</head>
<body>
    <form id="form1" runat="server">.
    <asp:HiddenField ID="hid_deliveryid" runat="server" />
      <asp:HiddenField ID="hid_hold" runat="server" />
     <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
     <div class="divmain" style="width:95%; margin-left:3%; margin-top:10px;">
        <acc:heading ID="pagehead" runat="server" HeadingText="Delivery Address" />   
     <div style="margin-left:10%; margin-right:3%; width:85%" align="center">
        <asp:Label ID="lblMsg" runat="server" Font-Bold="true"></asp:Label>
     </div>   
     </div>
    <div id="maindiv" runat="server" style="width:85%; margin-left:3%;">
     <table style="width:100%;" class="tablecontent">
       <tr>
        <td>
        <table id="tbladd" runat="server" style="width:100%;" class="tablecontent">
           <tr>
             <td style="width:100%;" colspan="9" class="headtd"><b>Select Address</b></td>
           </tr>
           <tr>
             <td></td><td>Title</td><td>Name</td><td>Add 1</td><td>Add 2</td><td>Add 3</td><td>Pincode</td><td>State Name</td><td>Country</td>
           </tr>
        </table>
        <center>
         <table style="width:10%; margin-top:2px; margin-bottom:2px;">
          <tr>
             <td style="width:100%;"><center><asp:Button ID="btnreturnadd" runat="server" CssClass="button" ValidationGroup="back" Text="OK" OnClientClick="getback()" />&nbsp;<asp:Button ID="btnclose" runat="server" CssClass="button" Text="Cancel" OnClientClick="javascript:window.close();" /></center></td>
          </tr>
          </table>
         </center>
         </td>
        </tr>
      </table>
     </div>
    </form>
</body>
</html>
